<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/7/1 0001
 * Time: 下午 3:10
 */

namespace app\sports_admin\service;

use app\sports_admin\model\Orders as OrdersModel;
class Orders extends Base
{
    /**
     * 用户订单列表
     */
    public static function getList()
    {
        $params = self::getHttpRequestPrograms()->param();
        $params['page'] = intval($params['page']);
        $params['rows'] = intval($params['rows']);
        $info = OrdersModel::getList($params);
        return json($info);
    }
}